package com.wawayaya.bookreader.bean;


public class AudiofileTimeelapsedUnit implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	public RectSerialBoolean m_rc = null;
	public int m_isentenceId = 0;
	public int m_iaudiocliptimebegin = 0;
	public int m_iaudiocliptimeend = 0;

	public AudiofileTimeelapsedUnit(){
	}

	public AudiofileTimeelapsedUnit(RectSerialBoolean rc,
									int isentenceId,
									int iaudiocliptimebegin, int iaudiocliptimeend){
		m_rc = rc; //shallow copy
		m_isentenceId = isentenceId;
		m_iaudiocliptimebegin = iaudiocliptimebegin;
		m_iaudiocliptimeend = iaudiocliptimeend;
	}
	
	public AudiofileTimeelapsedUnit(RectSerialBoolean rc,
									int isentenceId,
									IntDouble iducliptimebeginend){
		m_rc = rc; //shallow copy
		m_isentenceId = isentenceId;
		if(null != iducliptimebeginend) {
			m_iaudiocliptimebegin = iducliptimebeginend.m_ival1;
			m_iaudiocliptimeend = iducliptimebeginend.m_ival2;
		}
	}
	
	public AudiofileTimeelapsedUnit(AudiofileTimeelapsedUnit obj){
		if(null != obj){
			m_rc = new RectSerialBoolean(obj.m_rc); // deep copy
			m_isentenceId = obj.m_isentenceId;
			m_iaudiocliptimebegin = obj.m_iaudiocliptimebegin;
			m_iaudiocliptimeend = obj.m_iaudiocliptimeend;
		}
	}
	
}
